package online.heycm.lock;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 分布式锁注解，标记在类属性，表示该属性值为分布式锁的key值
 *
 * @author heycm
 * @since 2023/1/27 16:04
 */
@Target({ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface DistributedLockKey {
}
